import torch
t = torch.tensor([10.0,20],device='cpu',requires_grad=True)
print(type(t))
print(t.shape)
print(t.size())
print(t.device)
print(t.requires_grad)
pass